package com.zh.spring.web;

import com.zh.spring.service.ComputeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 描述：com.zh.spring.web
 *
 * @author 80002023
 *         2017/1/3.
 * @version 1.0
 * @since 1.8
 */
@RestController
public class ConsumerCtrl {

    @Autowired
    private ComputeService computeService;

    @GetMapping("/add")
    public String add() {
        return computeService.addService();
    }
}
